// fromEvent 使用

import { fromEvent } from "./rxjs";

const eventObservable = fromEvent(document, "click");
const subscriber = eventObservable.subscribe(console.log);
